<template>
<div class="address-content2 content">
	<ul>
		<li v-for="item in addli" >
			<div class="add_head">
			 
				<span class="head_name"><span class="icon icon-me"></span>{{item.name}}</span>

				<span class="head_phone"><span class="icon icon-phone"></span>{{item.phone}}</span>
				<span class="head_phone2">{{item.phone2}}</span>
			</div>

			<p class="add_footer item-title label"><span class="icon icon-home"></span>{{item.place}}</p>
		</li>
	</ul>
</div>
</template>
<style type="text/css">
	.address-content2 .icon{
		color: green;
	}
</style>
<script type="text/javascript">
	export default {
		data(){
			return{
				// isEmpty:true,
				addli:{}
			}
		},
		components:{
			// ThemeHeader,
			// Addresscard
		},
		mounted(){
	  var _this=this;
		$.ajax({
			type:"post",
			url:"http://localhost:8088/shop2/add-addressp.php",
			// data:{keyword:$(".class-input").val()},
			data:{type:"get"},
			dataType:"json",
			success:function(data){
				console.log(data);
				_this.addli=data.data;
			}
		});
		}
	}
</script>
